﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace Nirvana
{
    [AttributeUsage(AttributeTargets.Field, AllowMultiple = true)]
    public class EnumIntAttribute : PropertyAttribute
    {
        private string label;
        private int enumValue;
        public  string Label { get { return label; } }
        public int Value { get { return this.enumValue; } }

        public EnumIntAttribute(string label,int value)
        {
            this.label = label;
            this.enumValue = value;
        }
    }
}

